<?php defined('SYSPATH') or die('No direct script access.');
/**
* Module Dashboard
*/
class Module_accreport_reportusers {
	
	private $controller;
	private $ss;
	private $message;
	private $thesystems;
	private $mydatetime;
	private $arraylist;
	
	static function &factory() {
	   $o = new Module_accreport_reportusers();
	  return $o;	
	}
	
	public function __construct()
	{
		$this->controller	= Request::current()->controller();
		$this->ss					= Session::instance();
		$this->thesystems	= Helper_theSystems::factory();
		$this->mydatetime	= Helper_MyDateTime::factory();
		$this->message		= Language_Message::factory();
		$this->arraylist	= Helper_ArrayList::factory();
	}
	
	public function reportusers()
	{
		$userlists = DB::select()
			->from('users')
			->where('nickname','!=','michaeltang')
			->execute();
		
		$content['title']		= 'Report Users';
		$content['content']	= View::factory('report/reportusers')
			->set('userlists',$userlists)
			->render();
		
		return $content;
	}



}